<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	template="../templates/ui.xhtml">

    <ui:define name="head">
        <script type="text/javascript">
            //<![CDATA[
            PrimeFaces.locales['tr'] = {
                closeText: 'kapat',
                prevText: 'geri',
                nextText: 'ileri',
                currentText: 'bugün',
                monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
                'Temmuz','Aƒüustos','Eylül','Ekim','Kasım','Aralık'],
                monthNamesShort: ['Oca','≈ûub','Mar','Nis','May','Haz',
                'Tem','Ağu','Eyl','Eki','Kas','Ara'],
                dayNames: ['Pazar','Pazartesi','Salƒ±','√áar≈üamba','Perşembe','Cuma','Cumartesi'],
                dayNamesShort: ['Pz','Pt','Sa','√áa','Pe','Cu','Ct'],
                dayNamesMin: ['Pz','Pt','Sa','√áa','Pe','Cu','Ct'],
                weekHeader: 'Hf',
                firstDay: 1,
                isRTL: false,
                showMonthAfterYear: false,
                yearSuffix: '',
                month: 'Ay',
                week: 'Hafta',
                day: 'Gün',
                allDayText : 'Tüm Gün'
            };
//]]>
        </script>
    </ui:define>

	<ui:define name="content">

		<h1 class="title ui-widget-header ui-corner-all">Schedule</h1>
		<div class="entry">
		<p>Schedule has flexible locale support.</p>
			<h:form>
                <h3>Turkish</h3>
				<p:schedule value="#{scheduleController.eventModel}" locale="tr" />
			</h:form>
<h3>Source</h3>
<p:tabView>
    <p:tab title="scheduleLocale.xhtml">
<pre name="code" class="xml">
&lt;h:form&gt;
    &lt;h3&gt;Turkish&lt;h3&gt;
    &lt;p:schedule value="\#{scheduleController.eventModel}" locale="tr" /&gt;
&lt;/h:form&gt;
</pre>
    </p:tab>
</p:tabView>

		</div>
		
	</ui:define>
</ui:composition>